package com.hmall.pay;

import com.hmall.api.TradeClient;
import com.hmall.api.UserClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author peng_rui
 * @date 2024/12/17
 */
@EnableFeignClients(clients = {UserClient.class, TradeClient.class})
@MapperScan("com.hmall.pay.mapper")
@SpringBootApplication
public class PayApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class, args);
    }
}
